home *** CD-ROM | disk | FTP | other *** search
- global gActionPath, gRootPath, dV, HDFSize, BDFSize, gInstTarget, gFolderTarget
-
- on GatherActions gActionPath
- theURL = gActionPath & "code.menu"
- put theURL
- grabCode = getNetText(theURL)
- if netDone(grabCode) then
- codeKey = netTextresult(grabCode)
- end if
- put codeKey
- repeat with i = 1 to codeKey.line.count
- if codeKey.line[i] contains "<movie>" then
- movieTarget = codeKey.line[i].char[9..codeKey.line[i].char.count]
- go(1, gRootPath & "Files" & dV & "Scenes" & dV & movieTarget)
- gImMovie = 1
- end if
- end repeat
- if gImMovie <> 1 then
- gInstTarget = EMPTY
- gFolderTarget = EMPTY
- repeat with i = 1 to codeKey.line.count
- tagWord = codeKey.line[i].word[1]
- case tagWord of
- "<install>":
- gInstTarget = codeKey.line[i].char[11..codeKey.line[i].char.count]
- "<folder>":
- gFolderTarget = codeKey.line[i].char[10..codeKey.line[i].char.count]
- end case
- end repeat
- memberNumber = member("imageholder").memberNum
- tempURL = gActionPath & "shot.jpg"
- member("imageholder").importFileInto(tempURL)
- member(memberNumber).name = "imageholder"
- member(memberNumber).centerRegPoint = 1
- theTxt = gActionPath & "info.txt"
- grabTxt = getNetText(theTxt)
- if netDone(grabTxt) then
- member("infoTxt").text = netTextresult(grabTxt)
- end if
- member("infoTxt").line[1].fontSize = HDFSize
- member("infoTxt").line[1].fixedLineSpace = HDFSize
- member("infoTxt").line[1].color = rgb(0, 0, 0)
- member("infoTxt").line[1].topSpacing = 0
- member("infoTxt").line[1].bottomSpacing = 0
- repeat with g = 2 to member("infoTxt").line.count
- member("infoTxt").line[g].fontSize = BDFSize
- member("infoTxt").line[g].fixedLineSpace = BDFSize
- member("infoTxt").line[g].color = rgb(0, 0, 0)
- member("infoTxt").line[g].topSpacing = 0
- member("infoTxt").line[g].bottomSpacing = 0
- end repeat
- go(marker("product"))
- end if
- end
-